package cn.xz.zysjz.base;

import android.app.Application;
import android.content.Context;

/**
 * 全局Application-维护应用全局状态的基类*/
public class BaseApplication extends Application {

    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this.getApplicationContext();
    }

    public static Context getContext(){
        return mContext;
    }
}
